const style = {
  width: '100%',
  height: '100%',
  objectFit: 'contain',
  position: 'relative'
}
const hlsConfig = () => {
  return {
    allowFullScreen: true,
    maxBufferLength: 180,
    maxBufferSize: 180 * 1000 * 1000,
    xhrSetup: function (xhr) {
      xhr.timeout = 20000
    }
  }
}

const CONS = {
  style,
  hlsConfig
}
export default CONS
